package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.InventoryAlerts;
import com.example.mall.dto.InventoryAlertsDto;
import com.example.mall.query.InventoryAlertsQuery;
import com.example.mall.query.PageDTO;

import java.util.List;


/**
 * <p>
 * 库存预警表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-09
 */
public interface IInventoryAlertsService extends IService<InventoryAlerts> {

    //分页查询库存预警表信息
    PageDTO<InventoryAlertsDto> queryPage(InventoryAlertsQuery inventoryAlertsQuery);

    //根据id查询库存预警表信息
    InventoryAlerts queryInventoryAlertsById(Long alertId);

    //查询库存预警表信息列表
    List<InventoryAlerts> queryInventoryAlertsList();

    //新增库存预警表信息
    void insert(InventoryAlertsDto inventoryAlertsDto);

    //修改库存预警表信息
    void update(InventoryAlertsDto inventoryAlertsDto);

    //删除库存预警表信息
    void delete(Long alertId);

    //批量删除库存预警表信息
    void deleteBatch(List<Long> alertIds);
}
